import { axios } from '@/utils/request'

//获取告知书详情
export function getDetail(params) {
  return axios({
    method: 'get',
    url: `/business/bizNotification/bizNotifications/queryById`,
    params
  })
}

//获取告知书列表
export function getList(params) {
  return axios({
    method: 'get',
    url: '/business/bizNotification/bizNotifications/page',
    params,
  })
}

//获取告知书列表
export function getListAll(params) {
  return axios({
    method: 'get',
    url: '/business/bizNotification/bizNotifications/list',
    params,
  })
}

//签收
export function save(params) {
  return axios({
    method: 'post',
    url: `/business/bizNotification/bizNotificationRecordDetails/sign`,
    data:params
  })
}

